{extend name="friend/friend-list"}
{block name="friend"}

<script type="text/javascript">
$('li.menuFriendClass').addClass('actived');
$(document).ready(function() {
    $(".sns_action").find('a').click(function() {
        sns_action = $(this).parents('div.sns_action');
        pm_item = $(this).parents('div.pmItem');
        
        url = $(this).attr('href');
        $.getJSON(url, function(data) {
            if (data.action == 'accept') {
                sns_action.html('已接受邀请');
            } else if (data.action == 'ignore') {
                pm_item.slideUp(300, function() {$(this).remove()});
            }
        })
        return false;
    })
});
</script>
{block name="friend"}
<style type="text/css">
.nav ul li.yaoqing a { 
  background:#fff; 
  color:#90c044; 
  -webkit-border-radius:5px 5px 0 0; 
  -moz-border-radius:5px 5px 0 0; 
  border-radius:5px 5px 0 0; 
}
.container {font-size: 14px;}
</style>
<link rel="stylesheet" href="/static/css/pm.css" type="text/css"  />'
<div class="content">
	<div class="container">
        <div class="pmList snsNoticeList">
                    <style>
                .noticeInfo {
                background:#FFFDD7 url(/static/images/icon_info.gif) no-repeat scroll 12px 13px;
                border:1px solid #FEE8BD;
                line-height:150%;
                margin:20px 20px 0;
                padding:10px 0 8px 33px;
                }
            </style>
            <div class="noticeInfo">
                      <p>您暂时没有好友邀请，<a href="/add">添加好友</a>试试~</p>
                      <p style="margin-bottom: 0px;">
                    </p>
            </div>          
                    <div class="pub_listFoot">
                <div class="pri_blogPostPage">
                    <!-- <div class="pagecent">共5页&nbsp;&nbsp;<span>1</span> <a href="#">2</a>&nbsp;<a href="#">3</a>&nbsp;<a href="#">4</a>&nbsp;<a href="#">5</a>&nbsp;<a href="#" title="下一页">下一页</a>&nbsp;<a href="#" title="最后一页" >最后一页</a></div> -->
                </div>
            </div>
        </div>
    </div>
</div>
		<script type="text/javascript" src="other/.com/msg_count"></script>
	<script type="text/javascript">
	$('body').click(function(e){
	if(!$(e.target).hasClass('pub_subLink') && !$(e.target).parents().hasClass('pub_dropmenu')){
	$('.pub_dropmenu').slideUp('fast');
	}
	})
	</script>
{/block}